package com.alibaba.travel.member.service.impl;

import com.alibaba.travel.member.dao.ThirdPartDao;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.alibaba.travel.member.dao.ThirdPartDao;
import com.alibaba.travel.member.entity.ThirdPartEntity;
import com.alibaba.travel.member.service.ThirdPartService;
import com.alibaba.travel.common.utils.Query;
import com.alibaba.travel.common.utils.PageUtils;


@Service("thirdPartService")
public class ThirdPartServiceImpl extends ServiceImpl<ThirdPartDao, ThirdPartEntity> implements ThirdPartService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ThirdPartEntity> page = this.page(
                new Query<ThirdPartEntity>().getPage(params),
                new QueryWrapper<ThirdPartEntity>()
        );

        return new PageUtils(page);
    }

    @Override
    public void ThirdPartLogin() {

    }

}